package com.xm.service;

import com.xm.entity.User;
import java.util.List;

public interface UserService {

    boolean login(String username, String password);

    boolean register(String username, String password);

    int updateUser(User user);

    int deleteUser(Integer id);

    User getUserById(int id);

    List<User> getAllUsers();
}
